﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace HengTong.DataAccess.Migrations
{
    /// <inheritdoc />
    public partial class 调整待办中心属性名称 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "RouteUrl",
                table: "SysTodoCenter",
                newName: "Route");

            migrationBuilder.RenameColumn(
                name: "InitiatorName",
                table: "SysTodoCenter",
                newName: "Submitter");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "Submitter",
                table: "SysTodoCenter",
                newName: "InitiatorName");

            migrationBuilder.RenameColumn(
                name: "Route",
                table: "SysTodoCenter",
                newName: "RouteUrl");
        }
    }
}
